package com.jxstyle.core.security;

import org.springframework.stereotype.Component;

/**
 * 密码匹配器
 * 
 * @author weijx
 *
 */
@Component
public class BCryptPasswordEncoder extends org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder {

	public BCryptPasswordEncoder() {
		super(4);
	}

	public static void main(String[] args) {
		System.out.println(new BCryptPasswordEncoder().encode("admin"));
	}
}
